@import '../components/ui/button/fn';
@mixin boxSizing() {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
@mixin rotate($deg) {
  transform: rotate("#{$deg}deg");
  -webkit-transform: rotate("#{$deg}deg");
  -moz-transform: rotate("#{$deg}deg");
}
@mixin transitionAttr($attr, $second) {
  transition: #{$attr} #{$second}ms ease-out 0s;
  -webkit-transition: #{$attr} #{$second}ms ease-out 0s;
  -mos-transition:#{$attr} #{$second}ms ease-out 0s;
  -o-transition: #{$attr} #{$second}ms ease-out 0s;
}
@mixin borderRadius($radius) {
  border-radius: #{$radius};
  -webkit-border-radius: #{$radius};
  -moz-border-radius: #{$radius};
  -o-border-radius: #{$radius};
}
@mixin lyby_height_calc($calc) {
  height: calc(#{$calc});
  height: -webkit-calc(#{$calc});
  height: -moz-calc(#{$calc});
}

@mixin lyby_width_calc($calc) {
  width: calc(#{$calc});
  width: -webkit-calc(#{$calc});
  width: -moz-calc(#{$calc});
}

@mixin lyby_ellipsis(){
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

@mixin lyby_position_center(){
  position: absolute;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
}

@mixin lyby_position_h_center($top){
  position: absolute;
  top:#{$top};
  left:50%;
  transform: translateX(-50%);
}

@mixin lyby_donghua($miao:.2s) {
  -webkit-transition: all $miao;
  -moz-transition: all $miao;
  transition: all $miao;
}